package com.example.page.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.page.entity.Clazz;
import com.example.page.entity.vo.ClazzVo;
import com.example.page.service.ClazzService;
import com.example.page.mapper.ClazzMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
* @author 59787
* @description 针对表【t_clazz(班级表)】的数据库操作Service实现
* @createDate 2025-02-05 09:43:38
*/
@Service
@RequiredArgsConstructor
public class ClazzServiceImpl extends ServiceImpl<ClazzMapper, Clazz>
    implements ClazzService{

    private final ClazzMapper clazzMapper;

    @Override
    public IPage<ClazzVo> getClazzPageWithProblem(IPage<?> page) {
        return clazzMapper.selectClazzPageWithProblem(page);
    }

    @Override
    public IPage<ClazzVo> getClazzPageWithSolution1(IPage<?> page) {
        return clazzMapper.selectClazzPageWithSolution1(page);
    }

    @Override
    public IPage<ClazzVo> getClazzPageWithSolution2(IPage<?> page) {
        return clazzMapper.selectClazzPageWithSolution2(page);
    }
}




